﻿@model InnoWeb.CEND.UI.MVC.Areas.Admin.Models.AccountModel

@{
    ViewBag.Title = "LoggedIn";
    Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
}

<section id="loginForm">
<h2>Use a local account to log in.</h2>
@using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl })) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Log in Form</legend>
        <ol>
            <li>
                @Html.LabelFor(m => m.User.UserName)
                @Html.TextBoxFor(m => m.User.UserName)
                @Html.ValidationMessageFor(m => m.User.UserName)
            </li>
            <li>
                @Html.LabelFor(m => m.User.Password)
                @Html.PasswordFor(m => m.User.Password)
                @Html.ValidationMessageFor(m => m.User.Password)
            </li>
            <li>
                @Html.CheckBoxFor(m => m.RememberMe)
                @Html.LabelFor(m => m.RememberMe)
            </li>
        </ol>
        <input type="submit" value="Log in" />
    </fieldset>
}
</section>

